#ifndef RESOURCE_H
#define RESOURCE_H

#include <QObject>
#include <QUrl>

class Resource : public QObject
{
    Q_OBJECT
public:
    explicit Resource(QObject *parent = 0);

    void setId(int id);
    int getId();
    void setName(QString name);
    QString getName();
    void setUrl(QUrl url);
    QUrl getUrl();

signals:

public slots:

private:
    int mId;
    QUrl mUrl;
    QString mName;

};

#endif // RESOURCE_H
